import { baseUrl } from '../url'
import { request2, RequestOptions } from "../request1";
interface IDCardOCRResult {
	Name:string
	Sex:string
	Nation:string
	Address:string
	IdNum:string
}
export function IDCardOCR(options:RequestOptions<{fileId:string},IDCardOCRResult>){
	request2<{fileId:string},IDCardOCRResult>(Object.assign(options,{url:baseUrl+"/bspsd/v2/asi/IDCardOCR"}))
}




